import { createApp } from 'vue'
import App from './App.vue'
import router from './router/index'
import store from './store/index'
import ElementPlus from 'element-plus'
import 'element-plus/lib/theme-chalk/index.css'
import './styles/index.scss'
const app = createApp(App)
app.use(ElementPlus, { size: 'small', zIndex: 2000 })
app.use(router)
app.use(store)
app.mount('#app')
const modules = import.meta.globEager('./components/**/index.ts')
for (const path in modules) {
  app.use(modules[path].default)
}
